import Vue from 'vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import axios from 'axios';
import App from './App.vue';

// 创建Vue应用
const app = Vue.createApp(App);

// 使用Element Plus
app.use(ElementPlus);

// 配置axios
app.config.globalProperties.$axios = axios;
axios.defaults.baseURL = 'http://localhost:5000/api';

// 挂载应用
app.mount('#app');
